package com.jvm123.api.config

import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.Configuration
import org.springframework.web.client.RestTemplate

/**
 *
 * @author yawn http://jvm123.com
 *     2019/11/11 15:00
 */
@Configuration
class BeanConfig {

    @Bean
    RestTemplate restTemplate() {
        new RestTemplate()
    }
}
